package org.eenie.appseed.ui.dialog.sub

import android.os.Bundle
import android.view.Gravity
import android.view.LayoutInflater
import org.eenie.appseed.R
import org.eenie.appseed.databinding.FragmentDemoBottomDialogBinding
import org.eenie.core.base.DialogConfig
import org.eenie.core.base.viewbinding.BaseBindingDialogFragment


class DemoBottomDialogFragment : BaseBindingDialogFragment<FragmentDemoBottomDialogBinding>() {

    companion object {
        @JvmStatic
        fun newInstance() = DemoBottomDialogFragment()
    }


    override fun providerBinding(inflater: LayoutInflater, savedInstanceState: Bundle?) = FragmentDemoBottomDialogBinding.inflate(inflater)


    override fun initUI(binding: FragmentDemoBottomDialogBinding) {

    }


    override fun getDialogConfig(): DialogConfig {
        return super.getDialogConfig().copy(gravity = Gravity.BOTTOM, animation = R.style.Animation_Design_BottomSheetDialog)
    }


}